/*
 * (C) Copyright 2012. AePONA Limited. All Rights Reserved.
 *
 * These materials are unpublished, proprietary,
 * confidential source code of AePONA Limited and constitute a TRADE SECRET of AePONA Limited.
 *
 * AePONA Limited retains all title to and intellectual property rights in these materials.
 */

package com.aepona.app;

/**
 * Created by IntelliJ IDEA.
 * User: Aruna Rajapaksha
 * Date: 3/16/12
 * Time: 12:06 PM
 */

import org.testng.annotations.DataProvider;

public class AppTestData {

    @DataProvider(name = "unitLoginData")
    public static Object[][] unitLoginData() {

        return new Object[][]{
                {"Happy Scenario", "aepona", "pWd123$", "1|OK"},
                {"Invalid User & Password", "user", "123$", "0|NO"},
                {"Invalid User", "user", "pWd123$", "0|NO"},
                {"Invalid Password", "aepona", "pwd123$", "0|NO"},
                {"Empty Inputs", "", "", "0|NO"},
                {"NULL User", null, "pwd123", "-1|Error"},
                {"NULL Password", "user", null, "-1|Error"},
        };
    }

    @DataProvider(name = "intLoginData")
    public static Object[][] intLoginData() {

        return new Object[][]{
                {"Happy Scenario", "aepona", "pWd123$", "1|OK"},
                {"Invalid User & Password", "user", "123$", "0|NO"},
                {"Invalid User", "user", "pWd123$", "0|NO"},
                {"Invalid Password", "aepona", "pwd123$", "0|NO"},
                {"Empty Inputs", "", "", "0|NO"},
                {"NULL User", null, "pwd123", "-1|Error"},
                {"NULL Password", "user", null, "-1|Error"},
        };
    }
}